package com.woniu.microworkorderserver.feignone;


import com.woniu.microcommonsserver.param.ResponseMsg;
import com.woniu.microworkorderserver.feign.MicroUserServerFallbackFactory;
import com.woniu.microworkorderserver.feignone.impl.BuildServerFeignimpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;


@FeignClient(name = "micro-project-server",fallback = BuildServerFeignimpl.class)
public interface BuildServerFeign {

    @GetMapping(value = "/space/findBandS",produces = MediaType.APPLICATION_JSON_VALUE)
    ResponseMsg findAll();


}
